#!/usr/bin/env bash

SCRIPT_DIR=$(cd "$(dirname "$0")"; pwd)
pushd "${SCRIPT_DIR}/.build"

pushd .build

make $@

read -p "make install ? [Y] " yn
case $yn in
    [Yy]* )
        sudo make install
    *) ;;
esac

popd
